import request from '@/utils/request'

// 获取学生列表
export function getStudentList(params){
  return request({
    url: '/system/student/list',
    method: 'get',
    params:params
  })
}

// 添加列表学生
export function addStudent(data){
  return request({
    url: '/system/student/add',
    method: 'post',
    data:data
  })
}

// 编辑列表学生
export function editStudent(data){
  return request({
    url: '/system/student/edit',
    method: 'post',
    data:data
  })
}

// 删除列表学生
export function deleteStudent(data){
  return request({
    url: '/system/student/delete',
    method: 'post',
    data:data
  })
}
